package com.xiaoxie.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author 小谢
 * @since 2023-10-13
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Component
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;
    private String username;

    private String userAccount;

    private String userpwd;

    private String gender;

    private String address;

    private String Permissions;

    private String LearnFinish;

    private LocalDateTime lastTime;

    private String wordInit;


    public User(String account, String password) {
        this.userAccount=account;
        this.userpwd=password;

    }
}
